home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / +ORC / Orc pac 2 / FILEZ.ZIP / SR651.ZIP / SRFILES.EXE / TESTYN.DEF < prev    next >
Encoding:
Text File  |  1995-06-14  |  2.5 KB  |  67 lines

  1.  
  2.                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3.                       SOURCER DEFINITION FILE - TESTYN
  4.                   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5.  
  6.  
  7.  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 1: CONTROL INFORMATION   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  8.  
  9. 2nd Options flags  = A B C
  10. uP           = 486
  11. Input filename     = testyn.exe
  12. Header             = TESTYN with definition file
  13. Xref               = ON
  14.  
  15.  
  16.  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 2: RANGE DEFINITION      ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  17.  
  18.  ▒▒▒▒ Segments ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  19.  
  20.   begin      end      default      seg   seg
  21.  seg:off     off     ds     es     type  size
  22.  -------     ----    ----   ----   ----- -----
  23. none                                           ; comments in this area ignored
  24.  
  25.  
  26.    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 3  REFERENCE DEFINITIONS ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  27.  
  28.  
  29.  ════ Subroutines ═══════════════════════
  30.   seg:off   type & options     label           comments
  31.   -------   --------------     --------------  --------------
  32. seg_c:0     sub, far, c 2      beeper          ; beep subroutine (3rd segment)
  33. seg_c:2F    sub, c 3           delay
  34. seg_c:6D    sub                read_timer      READ_TIMER   ax = return of timer 0 count
  35.  
  36.  
  37.  ════ Locations        ═════════════════════════
  38.   seg:off   type & options     label           comments
  39.   -------   --------------     --------------  --------------
  40. seg_a:40    loc, c 04          begin_program
  41. seg_a:66    loc                y_pressed
  42. seg_a:6A    loc                n_pressed
  43. seg_a:6C    loc                exit
  44. seg_c:11    loc                cycle_loop
  45. seg_c:3F    loc                delay_loop
  46. seg_c:5D    loc                timer_rolled
  47. seg_c:62    loc                delay_complete
  48.  
  49. seg_c:0     indexed, bp
  50. =6          d?                 tone_cycles     total cycles of on/off times
  51. =8          d?                 tone_duration   each cycle speaker on & off time
  52. seg_c:2F    indexed, bp
  53. =4          d?                 delay_count     number of timer 0 ticks to wait
  54. =-2         d?                 timer_count     temporary storage
  55.  
  56. seg_c:14    forced, comment                    turn speaker on
  57. seg_c:20    forced, comment                    turn speaker off
  58.  
  59.  ════ Data Items ════════════════════════
  60.   seg:off   type & options     label           comments
  61.   -------   --------------     --------------  --------------
  62. seg_a:2E    da, r $            yes_no_message
  63. seg_c:7E    dw, c 6            speaker_port
  64. seg_c:80    dw, c 7            timer_0_port
  65.  
  66.  
  67.